JSStringFormat(string)Returns a string that is safe to use with JavaScript.
Any string.
Usage
JSStringFormat escapes special JavaScript characters, such as the single quote ('),
double quotes ("), and newline character so that you can put arbitrary
strings safely into JavaScript.